/**
 *  header file
 */
#include "C06.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main(int argc, char* argv[])
{
    char *sz1 = "Hello";
    char *sz2 = "\x20World";

    // dynamic allocate memory | STACK vs. HEAP
    char *sz3 = malloc(strlen(sz1) + strlen(sz2) + 1);
    combine_strings(sz1, sz2, sz3);
    
    printf("%s\n", sz3);

    // VERY VERY VERY IMPORTANT!!!
    free(sz3);

    return 0;
}